# Convert decimal to binary, octal and hexadecimal.
a = 12
a_binary = bin(a)
a_octal = oct(a)
a_hecadecimal = hex(a)

# Convert binary. octal and hexadecimal to decimal.
print(a==int(a_binary,2))
print(a==int(a_octal,8))
print(a==int(a_hecadecimal,16))


